// ROS 相关常量与默认配置
export const CMD_VEL_CANDIDATES = [
  '/cmd_vel',
  '/mobile_base/commands/velocity',
  '/base_controller/cmd_vel',
  '/robot/cmd_vel',
  '/turtle1/cmd_vel',
  '/cmd_vel_mux/input/navi'
];

// ROS2 geometry_msgs/Twist（roslib 在ROS2桥接下使用该ID）
export const TWIST_MESSAGE_TYPE = 'geometry_msgs/msg/Twist';

// 传感器话题名
export const SENSOR_TOPICS = {
  temperature: '/sensor/temperature485',
  humidity: '/sensor/humidity485',
  battery: '/robot/battery'
};

// 发布节流周期（毫秒）
export const PUBLISH_THROTTLE_MS = 50;


